﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DDD {
    /// <summary>
    /// クリアカラー用構造体
    /// </summary>
    public struct ClearColor {
        /// <summary>
        /// コンストラクター
        /// </summary>
        /// <param name="r">R要素</param>
        /// <param name="g">G要素</param>
        /// <param name="b">B要素</param>
        /// <param name="a">A要素</param>
        public ClearColor (float r, float g, float b, float a)
            : this () {
            this.R = r;
            this.G = g;
            this.B = b;
            this.A = a;
        }
        /// <summary>
        /// R要素
        /// </summary>
        public float R { get; private set; }
        /// <summary>
        /// G要素
        /// </summary>
        public float G { get; private set; }
        /// <summary>
        /// B要素
        /// </summary>
        public float B { get; private set; }
        /// <summary>
        /// A要素
        /// </summary>
        public float A { get; private set; }
    }
}
